package com.bristua.barcode.customer.controller;

import com.bristua.barcode.common.bean.Result;
import com.bristua.barcode.common.util.HandleResultUtil;
import com.bristua.barcode.customer.biz.SetCustomerBankPwdBiz;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by Administrator on 2019/8/25.
 */
@RestController
public class SetCustomerBankPwdController {

    @Autowired
    private SetCustomerBankPwdBiz setCustomerBankPwdBiz;
    @PostMapping(value = "/customer/setpwd/{secStr}")
    public Result setCustomerBankPwd(@PathVariable(value = "secStr") String secStr){
        setCustomerBankPwdBiz.setCustomerBankPwd(secStr);
        return HandleResultUtil.updateSuccessResult();
    }
}
